package com.wpml.netty.nio;

import java.nio.ByteBuffer;

/**
 * @Description
 * @Date 2021-07-16
 * @Author wangpei
 **/
public class Main {

    public static void main(String[] args) {
        TaskThreadGroup boss = new TaskThreadGroup(1);
        TaskThreadGroup worker = new TaskThreadGroup(2);

        boss.setWorkerGroup(worker);

        boss.bind(9090);

    }
}
